#!/bin/sh

DIR=$(basename $(pwd))
pushd .. > /dev/null
	svn export $DIR bookmarklet-server
	tar czf bookmarklet-server-${DIR}.tar.gz bookmarklet-server
	rm -R bookmarklet-server
popd > /dev/null
